<form>
    <table class="adminTable">
        <thead>
            <tr>
                <th>#</th>
                <th>Name</th>
                <th>Permission</th>
                <th>Note</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            {% for role in roles %}
            <tr>
                <td>{{role.id}}</td>
                <td>{{role.name}}</td>
                <td>{{role.note}}</td>
                <td>
                    <a class="btn btn-edit" href="{{url('roles/edit/'~role.id)}}"><i class="fa fa-pencil" data-id="{{role.id}}"></i></a>
                    <a class="btn btn-delete"><i class="fa fa-trash" data-id="{{role.id}}"></i></a>
                </td>
            </tr>
            {% endfor %}
        </tbody>
    </table>
</form>